import {
    legacy_createStore,
    applyMiddleware,
    combineReducers
} from 'redux'
import thunk from 'redux-thunk'
import logger from 'redux-logger'
import reducer from './reducer/reducer'
const ALL_reducer = combineReducers({
    reducer
})
export default legacy_createStore(ALL_reducer,applyMiddleware(thunk,logger))